package middleware

import (
	ginjwt "github.com/appleboy/gin-jwt/v2"
	"github.com/gin-gonic/gin"
)

const AuthzAudience = "authz.ziam.com"

func NewJWTAuth(gjwt func() *ginjwt.GinJWTMiddleware) gin.HandlerFunc {
	return gjwt().MiddlewareFunc()
}
